package com.isoftstone.studentregistration.service;

import com.github.pagehelper.Page;
import com.isoftstone.studentregistration.pojo.Users;
import com.isoftstone.studentregistration.util.Result;

import javax.servlet.http.HttpServletResponse;

public interface UserService {

    Result<?> insertUser(Users user);
    Result<?> updateUser(Users user);
    Result<?> deleteUser(Integer id);
    Page queryAllStudents(Integer currentPage, Integer pageSize,Users queryCondition);
    Result<?> login(String phone,String password);
    void exportExcel(HttpServletResponse  response);


}
